package com.ourteam.system.dao;

import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;

import org.apache.commons.lang.StringUtils;

import java.util.Arrays;
import java.util.List;
import java.util.Map;


/**
 * Template Name : DAO查询对象
 * Template Version : 1
 * Template Last Modfiy Date : Sat Aug 19 10:06:32 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:30
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public class SysNotifyConfigDAOQueryBean extends BaseQueryBean {
    public SysNotifyConfigDAOQueryBean() {
        super();
    }

    public SysNotifyConfigDAOQueryBean(BaseQueryBean aQueryBean) {
        super(aQueryBean);
    }

    public SysNotifyConfigDAOQueryBean(BaseQueryBean aQueryBean,
        Map tableReplaceMap) {
        super(aQueryBean, tableReplaceMap);
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();

        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria(this);
    }

    public void addCheckIntervalSelectProperty() {
        addCheckIntervalSelectProperty("checkInterval");
    }

    public void addCheckIntervalSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysNotifyConfigDAO.CheckInterval, aAlias);
        } else {
            addSelectProperty(ISysNotifyConfigDAO.CheckInterval, "checkInterval");
        }
    }

    public void addIdSelectProperty() {
        addIdSelectProperty("id");
    }

    public void addIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysNotifyConfigDAO.Id, aAlias);
        } else {
            addSelectProperty(ISysNotifyConfigDAO.Id, "id");
        }
    }

    public void addNotifyIconSelectProperty() {
        addNotifyIconSelectProperty("notifyIcon");
    }

    public void addNotifyIconSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysNotifyConfigDAO.NotifyIcon, aAlias);
        } else {
            addSelectProperty(ISysNotifyConfigDAO.NotifyIcon, "notifyIcon");
        }
    }

    public void addNotifyListenerSelectProperty() {
        addNotifyListenerSelectProperty("notifyListener");
    }

    public void addNotifyListenerSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysNotifyConfigDAO.NotifyListener, aAlias);
        } else {
            addSelectProperty(ISysNotifyConfigDAO.NotifyListener,
                "notifyListener");
        }
    }

    public void addNotifyMessageSelectProperty() {
        addNotifyMessageSelectProperty("notifyMessage");
    }

    public void addNotifyMessageSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysNotifyConfigDAO.NotifyMessage, aAlias);
        } else {
            addSelectProperty(ISysNotifyConfigDAO.NotifyMessage, "notifyMessage");
        }
    }

    public void addNotifyNameSelectProperty() {
        addNotifyNameSelectProperty("notifyName");
    }

    public void addNotifyNameSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysNotifyConfigDAO.NotifyName, aAlias);
        } else {
            addSelectProperty(ISysNotifyConfigDAO.NotifyName, "notifyName");
        }
    }

    public void addStatusSelectProperty() {
        addStatusSelectProperty("status");
    }

    public void addStatusSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysNotifyConfigDAO.Status, aAlias);
        } else {
            addSelectProperty(ISysNotifyConfigDAO.Status, "status");
        }
    }

    public void addViewPathSelectProperty() {
        addViewPathSelectProperty("viewPath");
    }

    public void addViewPathSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysNotifyConfigDAO.ViewPath, aAlias);
        } else {
            addSelectProperty(ISysNotifyConfigDAO.ViewPath, "viewPath");
        }
    }

    public void addAllSelectProperties() {
        addCheckIntervalSelectProperty();

        addIdSelectProperty();

        addNotifyIconSelectProperty();

        addNotifyListenerSelectProperty();

        addNotifyMessageSelectProperty();

        addNotifyNameSelectProperty();

        addStatusSelectProperty();

        addViewPathSelectProperty();
    }

    public static class Criteria extends BaseWhereCriterion<SysNotifyConfigDAOQueryBean> {
        protected Criteria(SysNotifyConfigDAOQueryBean aParentObject) {
            super(aParentObject);
        }

        public Criteria andCheckIntervalIsNull() {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " is null");

            return this;
        }

        public Criteria andCheckIntervalIsNotNull() {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " is not null");

            return this;
        }

        public Criteria andCheckIntervalIsNotEmpty() {
            addCriterion(ISysNotifyConfigDAO.CheckInterval +
                " is not null AND " + ISysNotifyConfigDAO.CheckInterval +
                " <> ''");

            return this;
        }

        public Criteria andCheckIntervalIsEmpty() {
            addCriterion("(" + ISysNotifyConfigDAO.CheckInterval +
                " is null OR " + ISysNotifyConfigDAO.CheckInterval + " = '')");

            return this;
        }

        public Criteria andCheckIntervalEqualTo(int value) {
            return andCheckIntervalEqualTo(Integer.valueOf(value));
        }

        public Criteria andCheckIntervalEqualTo(java.lang.Integer value) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " = ", value,
                "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.CheckInterval);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckIntervalEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckIntervalNotEqualTo(int value) {
            return andCheckIntervalNotEqualTo(Integer.valueOf(value));
        }

        public Criteria andCheckIntervalNotEqualTo(java.lang.Integer value) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " <>", value,
                "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalNotEqualToOrIsNull(int value) {
            return andCheckIntervalNotEqualToOrIsNull(Integer.valueOf(value));
        }

        public Criteria andCheckIntervalNotEqualToOrIsNull(
            java.lang.Integer value) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " is null OR " +
                ISysNotifyConfigDAO.CheckInterval + " <>", value,
                "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.CheckInterval);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckIntervalNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckIntervalGreaterThan(int value) {
            return andCheckIntervalGreaterThan(Integer.valueOf(value));
        }

        public Criteria andCheckIntervalGreaterThan(java.lang.Integer value) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " >", value,
                "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.CheckInterval);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckIntervalGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckIntervalGreaterThanOrEqualTo(int value) {
            return andCheckIntervalGreaterThanOrEqualTo(Integer.valueOf(value));
        }

        public Criteria andCheckIntervalGreaterThanOrEqualTo(
            java.lang.Integer value) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " >=", value,
                "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.CheckInterval);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckIntervalGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckIntervalLessThan(int value) {
            return andCheckIntervalLessThan(Integer.valueOf(value));
        }

        public Criteria andCheckIntervalLessThan(java.lang.Integer value) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " <", value,
                "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.CheckInterval);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckIntervalLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckIntervalLessThanOrEqualTo(int value) {
            return andCheckIntervalLessThanOrEqualTo(Integer.valueOf(value));
        }

        public Criteria andCheckIntervalLessThanOrEqualTo(
            java.lang.Integer value) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " <=", value,
                "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.CheckInterval);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckIntervalLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckIntervalIn(int[] values) {
            if (values.length == 1) {
                return andCheckIntervalEqualTo((java.lang.Integer) values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.CheckInterval + " in", values,
                    "checkInterval");

                return this;
            }
        }

        public Criteria andCheckIntervalNotIn(int[] values) {
            if (values.length == 1) {
                return andCheckIntervalNotEqualTo((java.lang.Integer) values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.CheckInterval + " not in",
                    values, "checkInterval");

                return this;
            }
        }

        public Criteria andCheckIntervalIn(List<java.lang.Integer> values) {
            if (values.size() == 1) {
                return andCheckIntervalEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.CheckInterval + " in", values,
                    "checkInterval");

                return this;
            }
        }

        public Criteria andCheckIntervalNotIn(List<java.lang.Integer> values) {
            if (values.size() == 1) {
                return andCheckIntervalNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.CheckInterval + " not in",
                    values, "checkInterval");

                return this;
            }
        }

        public Criteria andCheckIntervalIn(java.lang.Integer[] values) {
            if (values.length == 1) {
                return andCheckIntervalEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.CheckInterval + " in",
                    Arrays.asList(values), "checkInterval");

                return this;
            }
        }

        public Criteria andCheckIntervalNotIn(java.lang.Integer[] values) {
            if (values.length == 1) {
                return andCheckIntervalNotEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.CheckInterval + " not in",
                    Arrays.asList(values), "checkInterval");

                return this;
            }
        }

        public Criteria andCheckIntervalIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckIntervalNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckIntervalBetween(int value1, int value2) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " between",
                value1, value2, "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalBetween(java.lang.Integer value1,
            java.lang.Integer value2) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " between",
                value1, value2, "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalNotBetween(int value1, int value2) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " not between",
                value1, value2, "checkInterval");

            return this;
        }

        public Criteria andCheckIntervalNotBetween(java.lang.Integer value1,
            java.lang.Integer value2) {
            addCriterion(ISysNotifyConfigDAO.CheckInterval + " not between",
                value1, value2, "checkInterval");

            return this;
        }

        public Criteria andIdIsNull() {
            addCriterion(ISysNotifyConfigDAO.Id + " is null");

            return this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion(ISysNotifyConfigDAO.Id + " is not null");

            return this;
        }

        public Criteria andIdIsNotEmpty() {
            addCriterion(ISysNotifyConfigDAO.Id + " is not null AND " +
                ISysNotifyConfigDAO.Id + " <> ''");

            return this;
        }

        public Criteria andIdIsEmpty() {
            addCriterion("(" + ISysNotifyConfigDAO.Id + " is null OR " +
                ISysNotifyConfigDAO.Id + " = '')");

            return this;
        }

        public Criteria andIdEqualTo(long value) {
            return andIdEqualTo(Long.valueOf(value));
        }

        public Criteria andIdEqualTo(java.lang.Long value) {
            addCriterion(ISysNotifyConfigDAO.Id + " = ", value, "id");

            return this;
        }

        public Criteria andIdEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Id);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Id + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdNotEqualTo(long value) {
            return andIdNotEqualTo(Long.valueOf(value));
        }

        public Criteria andIdNotEqualTo(java.lang.Long value) {
            addCriterion(ISysNotifyConfigDAO.Id + " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToOrIsNull(long value) {
            return andIdNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {
            addCriterion(ISysNotifyConfigDAO.Id + " is null OR " +
                ISysNotifyConfigDAO.Id + " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Id);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Id + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdGreaterThan(long value) {
            return andIdGreaterThan(Long.valueOf(value));
        }

        public Criteria andIdGreaterThan(java.lang.Long value) {
            addCriterion(ISysNotifyConfigDAO.Id + " >", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Id);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Id + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(long value) {
            return andIdGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysNotifyConfigDAO.Id + " >=", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Id);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Id + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdLessThan(long value) {
            return andIdLessThan(Long.valueOf(value));
        }

        public Criteria andIdLessThan(java.lang.Long value) {
            addCriterion(ISysNotifyConfigDAO.Id + " <", value, "id");

            return this;
        }

        public Criteria andIdLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Id);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Id + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(long value) {
            return andIdLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysNotifyConfigDAO.Id + " <=", value, "id");

            return this;
        }

        public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Id);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Id + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdIn(long[] values) {
            if (values.length == 1) {
                return andIdEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.Id + " in", values, "id");

                return this;
            }
        }

        public Criteria andIdNotIn(long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.Id + " not in", values, "id");

                return this;
            }
        }

        public Criteria andIdIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.Id + " in", values, "id");

                return this;
            }
        }

        public Criteria andIdNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.Id + " not in", values, "id");

                return this;
            }
        }

        public Criteria andIdIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.Id + " in",
                    Arrays.asList(values), "id");

                return this;
            }
        }

        public Criteria andIdNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.Id + " not in",
                    Arrays.asList(values), "id");

                return this;
            }
        }

        public Criteria andIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Id + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Id + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdBetween(long value1, long value2) {
            addCriterion(ISysNotifyConfigDAO.Id + " between", value1, value2,
                "id");

            return this;
        }

        public Criteria andIdBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysNotifyConfigDAO.Id + " between", value1, value2,
                "id");

            return this;
        }

        public Criteria andIdNotBetween(long value1, long value2) {
            addCriterion(ISysNotifyConfigDAO.Id + " not between", value1,
                value2, "id");

            return this;
        }

        public Criteria andIdNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysNotifyConfigDAO.Id + " not between", value1,
                value2, "id");

            return this;
        }

        public Criteria andNotifyIconIsNull() {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " is null");

            return this;
        }

        public Criteria andNotifyIconIsNotNull() {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " is not null");

            return this;
        }

        public Criteria andNotifyIconIsNotEmpty() {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " is not null AND " +
                ISysNotifyConfigDAO.NotifyIcon + " <> ''");

            return this;
        }

        public Criteria andNotifyIconIsEmpty() {
            addCriterion("(" + ISysNotifyConfigDAO.NotifyIcon + " is null OR " +
                ISysNotifyConfigDAO.NotifyIcon + " = '')");

            return this;
        }

        public Criteria andNotifyIconEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " = ", value,
                "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyIcon);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyIconEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyIconNotEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " <>", value,
                "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconNotEqualToOrIsNull(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " is null OR " +
                ISysNotifyConfigDAO.NotifyIcon + " <>", value, "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyIcon);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyIconNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyIconGreaterThan(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " >", value,
                "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyIcon);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyIconGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyIconGreaterThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " >=", value,
                "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyIcon);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyIconGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyIconLessThan(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " <", value,
                "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyIcon);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyIconLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyIconLessThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " <=", value,
                "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyIcon);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyIconLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyIconLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " like",
                buffer.toString(), "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " not like",
                buffer.toString(), "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconIn(List<String> values) {
            if (values.size() == 1) {
                return andNotifyIconEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyIcon + " in", values,
                    "notifyIcon");

                return this;
            }
        }

        public Criteria andNotifyIconNotIn(List<String> values) {
            if (values.size() == 1) {
                return andNotifyIconNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyIcon + " not in",
                    values, "notifyIcon");

                return this;
            }
        }

        public Criteria andNotifyIconIn(String[] values) {
            if (values.length == 1) {
                return andNotifyIconEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyIcon + " in",
                    Arrays.asList(values), "notifyIcon");

                return this;
            }
        }

        public Criteria andNotifyIconNotIn(String[] values) {
            if (values.length == 1) {
                return andNotifyIconNotEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyIcon + " not in",
                    Arrays.asList(values), "notifyIcon");

                return this;
            }
        }

        public Criteria andNotifyIconIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyIconNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyIconBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " between", value1,
                value2, "notifyIcon");

            return this;
        }

        public Criteria andNotifyIconNotBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.NotifyIcon + " not between",
                value1, value2, "notifyIcon");

            return this;
        }

        public Criteria andNotifyListenerIsNull() {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " is null");

            return this;
        }

        public Criteria andNotifyListenerIsNotNull() {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " is not null");

            return this;
        }

        public Criteria andNotifyListenerIsNotEmpty() {
            addCriterion(ISysNotifyConfigDAO.NotifyListener +
                " is not null AND " + ISysNotifyConfigDAO.NotifyListener +
                " <> ''");

            return this;
        }

        public Criteria andNotifyListenerIsEmpty() {
            addCriterion("(" + ISysNotifyConfigDAO.NotifyListener +
                " is null OR " + ISysNotifyConfigDAO.NotifyListener + " = '')");

            return this;
        }

        public Criteria andNotifyListenerEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " = ", value,
                "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyListener);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyListenerEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyListenerNotEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " <>", value,
                "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerNotEqualToOrIsNull(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " is null OR " +
                ISysNotifyConfigDAO.NotifyListener + " <>", value,
                "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyListener);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyListenerNotEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyListenerGreaterThan(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " >", value,
                "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyListener);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyListenerGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyListenerGreaterThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " >=", value,
                "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyListener);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyListenerGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyListenerLessThan(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " <", value,
                "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerLessThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyListener);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyListenerLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyListenerLessThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " <=", value,
                "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyListener);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyListenerLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyListenerLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " like",
                buffer.toString(), "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " not like",
                buffer.toString(), "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerIn(List<String> values) {
            if (values.size() == 1) {
                return andNotifyListenerEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyListener + " in",
                    values, "notifyListener");

                return this;
            }
        }

        public Criteria andNotifyListenerNotIn(List<String> values) {
            if (values.size() == 1) {
                return andNotifyListenerNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyListener + " not in",
                    values, "notifyListener");

                return this;
            }
        }

        public Criteria andNotifyListenerIn(String[] values) {
            if (values.length == 1) {
                return andNotifyListenerEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyListener + " in",
                    Arrays.asList(values), "notifyListener");

                return this;
            }
        }

        public Criteria andNotifyListenerNotIn(String[] values) {
            if (values.length == 1) {
                return andNotifyListenerNotEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyListener + " not in",
                    Arrays.asList(values), "notifyListener");

                return this;
            }
        }

        public Criteria andNotifyListenerIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyListenerNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyListenerBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " between",
                value1, value2, "notifyListener");

            return this;
        }

        public Criteria andNotifyListenerNotBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.NotifyListener + " not between",
                value1, value2, "notifyListener");

            return this;
        }

        public Criteria andNotifyMessageIsNull() {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " is null");

            return this;
        }

        public Criteria andNotifyMessageIsNotNull() {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " is not null");

            return this;
        }

        public Criteria andNotifyMessageIsNotEmpty() {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage +
                " is not null AND " + ISysNotifyConfigDAO.NotifyMessage +
                " <> ''");

            return this;
        }

        public Criteria andNotifyMessageIsEmpty() {
            addCriterion("(" + ISysNotifyConfigDAO.NotifyMessage +
                " is null OR " + ISysNotifyConfigDAO.NotifyMessage + " = '')");

            return this;
        }

        public Criteria andNotifyMessageEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " = ", value,
                "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyMessage);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyMessageEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyMessageNotEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " <>", value,
                "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageNotEqualToOrIsNull(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " is null OR " +
                ISysNotifyConfigDAO.NotifyMessage + " <>", value,
                "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyMessage);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyMessageNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyMessageGreaterThan(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " >", value,
                "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyMessage);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyMessageGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyMessageGreaterThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " >=", value,
                "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyMessage);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyMessageGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyMessageLessThan(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " <", value,
                "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyMessage);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyMessageLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyMessageLessThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " <=", value,
                "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyMessage);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyMessageLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyMessageLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " like",
                buffer.toString(), "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " not like",
                buffer.toString(), "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageIn(List<String> values) {
            if (values.size() == 1) {
                return andNotifyMessageEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyMessage + " in", values,
                    "notifyMessage");

                return this;
            }
        }

        public Criteria andNotifyMessageNotIn(List<String> values) {
            if (values.size() == 1) {
                return andNotifyMessageNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyMessage + " not in",
                    values, "notifyMessage");

                return this;
            }
        }

        public Criteria andNotifyMessageIn(String[] values) {
            if (values.length == 1) {
                return andNotifyMessageEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyMessage + " in",
                    Arrays.asList(values), "notifyMessage");

                return this;
            }
        }

        public Criteria andNotifyMessageNotIn(String[] values) {
            if (values.length == 1) {
                return andNotifyMessageNotEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyMessage + " not in",
                    Arrays.asList(values), "notifyMessage");

                return this;
            }
        }

        public Criteria andNotifyMessageIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyMessageNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyMessageBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " between",
                value1, value2, "notifyMessage");

            return this;
        }

        public Criteria andNotifyMessageNotBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.NotifyMessage + " not between",
                value1, value2, "notifyMessage");

            return this;
        }

        public Criteria andNotifyNameIsNull() {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " is null");

            return this;
        }

        public Criteria andNotifyNameIsNotNull() {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " is not null");

            return this;
        }

        public Criteria andNotifyNameIsNotEmpty() {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " is not null AND " +
                ISysNotifyConfigDAO.NotifyName + " <> ''");

            return this;
        }

        public Criteria andNotifyNameIsEmpty() {
            addCriterion("(" + ISysNotifyConfigDAO.NotifyName + " is null OR " +
                ISysNotifyConfigDAO.NotifyName + " = '')");

            return this;
        }

        public Criteria andNotifyNameEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " = ", value,
                "notifyName");

            return this;
        }

        public Criteria andNotifyNameEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyName);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyNameEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyNameNotEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " <>", value,
                "notifyName");

            return this;
        }

        public Criteria andNotifyNameNotEqualToOrIsNull(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " is null OR " +
                ISysNotifyConfigDAO.NotifyName + " <>", value, "notifyName");

            return this;
        }

        public Criteria andNotifyNameNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyName);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyNameNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyNameGreaterThan(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " >", value,
                "notifyName");

            return this;
        }

        public Criteria andNotifyNameGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyName);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyNameGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyNameGreaterThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " >=", value,
                "notifyName");

            return this;
        }

        public Criteria andNotifyNameGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyName);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyNameGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyNameLessThan(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " <", value,
                "notifyName");

            return this;
        }

        public Criteria andNotifyNameLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyName);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyNameLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyNameLessThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " <=", value,
                "notifyName");

            return this;
        }

        public Criteria andNotifyNameLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.NotifyName);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andNotifyNameLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyNameLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.NotifyName + " like",
                buffer.toString(), "notifyName");

            return this;
        }

        public Criteria andNotifyNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.NotifyName + " not like",
                buffer.toString(), "notifyName");

            return this;
        }

        public Criteria andNotifyNameIn(List<String> values) {
            if (values.size() == 1) {
                return andNotifyNameEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyName + " in", values,
                    "notifyName");

                return this;
            }
        }

        public Criteria andNotifyNameNotIn(List<String> values) {
            if (values.size() == 1) {
                return andNotifyNameNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyName + " not in",
                    values, "notifyName");

                return this;
            }
        }

        public Criteria andNotifyNameIn(String[] values) {
            if (values.length == 1) {
                return andNotifyNameEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyName + " in",
                    Arrays.asList(values), "notifyName");

                return this;
            }
        }

        public Criteria andNotifyNameNotIn(String[] values) {
            if (values.length == 1) {
                return andNotifyNameNotEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.NotifyName + " not in",
                    Arrays.asList(values), "notifyName");

                return this;
            }
        }

        public Criteria andNotifyNameIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andNotifyNameNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andNotifyNameBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " between", value1,
                value2, "notifyName");

            return this;
        }

        public Criteria andNotifyNameNotBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.NotifyName + " not between",
                value1, value2, "notifyName");

            return this;
        }

        public Criteria andStatusIsNull() {
            addCriterion(ISysNotifyConfigDAO.Status + " is null");

            return this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion(ISysNotifyConfigDAO.Status + " is not null");

            return this;
        }

        public Criteria andStatusIsNotEmpty() {
            addCriterion(ISysNotifyConfigDAO.Status + " is not null AND " +
                ISysNotifyConfigDAO.Status + " <> ''");

            return this;
        }

        public Criteria andStatusIsEmpty() {
            addCriterion("(" + ISysNotifyConfigDAO.Status + " is null OR " +
                ISysNotifyConfigDAO.Status + " = '')");

            return this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.Status + " = ", value, "status");

            return this;
        }

        public Criteria andStatusEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Status);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Status + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.Status + " <>", value, "status");

            return this;
        }

        public Criteria andStatusNotEqualToOrIsNull(String value) {
            addCriterion(ISysNotifyConfigDAO.Status + " is null OR " +
                ISysNotifyConfigDAO.Status + " <>", value, "status");

            return this;
        }

        public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Status);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Status + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion(ISysNotifyConfigDAO.Status + " >", value, "status");

            return this;
        }

        public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Status);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Status + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.Status + " >=", value, "status");

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Status);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Status + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion(ISysNotifyConfigDAO.Status + " <", value, "status");

            return this;
        }

        public Criteria andStatusLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Status);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Status + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.Status + " <=", value, "status");

            return this;
        }

        public Criteria andStatusLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.Status);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Status + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.Status + " like",
                buffer.toString(), "status");

            return this;
        }

        public Criteria andStatusNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.Status + " not like",
                buffer.toString(), "status");

            return this;
        }

        public Criteria andStatusIn(List<String> values) {
            if (values.size() == 1) {
                return andStatusEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.Status + " in", values,
                    "status");

                return this;
            }
        }

        public Criteria andStatusNotIn(List<String> values) {
            if (values.size() == 1) {
                return andStatusNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.Status + " not in", values,
                    "status");

                return this;
            }
        }

        public Criteria andStatusIn(String[] values) {
            if (values.length == 1) {
                return andStatusEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.Status + " in",
                    Arrays.asList(values), "status");

                return this;
            }
        }

        public Criteria andStatusNotIn(String[] values) {
            if (values.length == 1) {
                return andStatusNotEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.Status + " not in",
                    Arrays.asList(values), "status");

                return this;
            }
        }

        public Criteria andStatusIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Status + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.Status + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.Status + " between", value1,
                value2, "status");

            return this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.Status + " not between", value1,
                value2, "status");

            return this;
        }

        public Criteria andViewPathIsNull() {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " is null");

            return this;
        }

        public Criteria andViewPathIsNotNull() {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " is not null");

            return this;
        }

        public Criteria andViewPathIsNotEmpty() {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " is not null AND " +
                ISysNotifyConfigDAO.ViewPath + " <> ''");

            return this;
        }

        public Criteria andViewPathIsEmpty() {
            addCriterion("(" + ISysNotifyConfigDAO.ViewPath + " is null OR " +
                ISysNotifyConfigDAO.ViewPath + " = '')");

            return this;
        }

        public Criteria andViewPathEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " = ", value, "viewPath");

            return this;
        }

        public Criteria andViewPathEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.ViewPath);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andViewPathEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andViewPathNotEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " <>", value, "viewPath");

            return this;
        }

        public Criteria andViewPathNotEqualToOrIsNull(String value) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " is null OR " +
                ISysNotifyConfigDAO.ViewPath + " <>", value, "viewPath");

            return this;
        }

        public Criteria andViewPathNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.ViewPath);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andViewPathNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andViewPathGreaterThan(String value) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " >", value, "viewPath");

            return this;
        }

        public Criteria andViewPathGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.ViewPath);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andViewPathGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andViewPathGreaterThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " >=", value, "viewPath");

            return this;
        }

        public Criteria andViewPathGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.ViewPath);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andViewPathGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andViewPathLessThan(String value) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " <", value, "viewPath");

            return this;
        }

        public Criteria andViewPathLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.ViewPath);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andViewPathLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andViewPathLessThanOrEqualTo(String value) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " <=", value, "viewPath");

            return this;
        }

        public Criteria andViewPathLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysNotifyConfigDAO.ViewPath);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andViewPathLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andViewPathLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.ViewPath + " like",
                buffer.toString(), "viewPath");

            return this;
        }

        public Criteria andViewPathNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysNotifyConfigDAO.ViewPath + " not like",
                buffer.toString(), "viewPath");

            return this;
        }

        public Criteria andViewPathIn(List<String> values) {
            if (values.size() == 1) {
                return andViewPathEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.ViewPath + " in", values,
                    "viewPath");

                return this;
            }
        }

        public Criteria andViewPathNotIn(List<String> values) {
            if (values.size() == 1) {
                return andViewPathNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysNotifyConfigDAO.ViewPath + " not in", values,
                    "viewPath");

                return this;
            }
        }

        public Criteria andViewPathIn(String[] values) {
            if (values.length == 1) {
                return andViewPathEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.ViewPath + " in",
                    Arrays.asList(values), "viewPath");

                return this;
            }
        }

        public Criteria andViewPathNotIn(String[] values) {
            if (values.length == 1) {
                return andViewPathNotEqualTo(values[0]);
            } else {
                addCriterion(ISysNotifyConfigDAO.ViewPath + " not in",
                    Arrays.asList(values), "viewPath");

                return this;
            }
        }

        public Criteria andViewPathIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andViewPathNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andViewPathBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " between", value1,
                value2, "viewPath");

            return this;
        }

        public Criteria andViewPathNotBetween(String value1, String value2) {
            addCriterion(ISysNotifyConfigDAO.ViewPath + " not between", value1,
                value2, "viewPath");

            return this;
        }
    }
}
